package com.guli.eduService.mapper;

import com.guli.eduService.entity.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guli.eduService.entity.frontvo.CourseWebVo;
import com.guli.eduService.entity.vo.CoursePublishVo;
import org.springframework.data.annotation.Id;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author LMZovo
 * @since 2022-02-15
 */
public interface EduCourseMapper extends BaseMapper<EduCourse> {

    CoursePublishVo getPublishCourseInfo(String courseId);

    CourseWebVo getFrontCourseInfo(String courseId); //根据课程id查询课程基本信息
}